package cn.xyf.mzmy.server.dal.dataobject.blog;

import cn.xyf.mzmy.common.pojo.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xyf
 * @since 2025-07-23
 */
@Getter
@Setter
@TableName("blog")
public class Blog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 领域
     */
    @TableField("domain")
    private String domain;

    /**
     * 正文内容
     */
    @TableField("content")
    private String content;

    /**
     * 创建用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 类型
     */
    @TableField("type")
    private Byte type;
}
